package com.why.service;

import com.why.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 王-自信
* @description 针对表【category】的数据库操作Service
* @createDate 2024-11-26 16:12:56
*/
public interface CategoryService extends IService<Category> {

    void add(Category category);

    Category getByCategoryName(String categoryName);

    List<Category> listCategory();

    Category detail(String id);

    void updateCategory(Category category);
}
